package com.txhy.certificatechain.model.bean;

import java.util.List;

/*
 * -----------------------------------------------------------------
 * Copyright (C) 2018-2030, by your company, All rights reserved.
 * -----------------------------------------------------------------
 * 文    件: BannerBean.java
 * 作    者: 侯建军
 * 版    权: 1.0.0
 * 描    述: 轮播实体类
 * 创建时间: 2018/9/20 8:27
 * 更新时间：2018/9/20 8:27
 * -----------------------------------------------------------------
 * 2018/9/20 8:27: 创建 BannerBean.java (侯建军);
 * -----------------------------------------------------------------
 */
public class BannerBean {
    /**
     * status : 200
     * msg : 成功
     * data : [{"id":1,"title":"lunbo","name":"轮播1","imgUrl":"/group1/M00/00/11/wKgBm1uMzwGAMqSRAAIXFK7x8rI764.png","imgLogo":"ss","url":"www.duliangbi.com"},{"id":2,"name":"轮播2","imgUrl":"/group1/M00/00/11/wKgBm1uMzxWAHeQpAECvrRTy1dQ841.jpg","url":"www.duliangbi.com"},{"id":3,"name":"轮播3","imgUrl":"/group1/M00/00/11/wKgBm1uMzyOAanxyAAJBeFnuqsI461.jpg","url":"www.duliangbi.com"},{"id":4,"name":"轮播4","imgUrl":"/group1/M00/00/11/wKgBm1uMzzeAH42XAAepVCe2340531.jpg","url":"www.duliangbi.com"}]
     */
    private int status;
    private String msg;
    /**
     * id : 1
     * title : lunbo
     * name : 轮播1
     * imgUrl : /group1/M00/00/11/wKgBm1uMzwGAMqSRAAIXFK7x8rI764.png
     * imgLogo : ss
     * url : www.duliangbi.com
     */
    private List<DataEntity> data;

    public void setStatus(int status) {
        this.status = status;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setData(List<DataEntity> data) {
        this.data = data;
    }

    public int getStatus() {
        return status;
    }

    public String getMsg() {
        return msg;
    }

    public List<DataEntity> getData() {
        return data;
    }

    public static class DataEntity {
        private int id;
        private String title;
        private String name;
        private String imgUrl;
        private String imgLogo;
        private String url;
        public void setId(int id) {
            this.id = id;
        }
        public void setTitle(String title) {
            this.title = title;
        }
        public void setName(String name) {
            this.name = name;
        }
        public void setImgUrl(String imgUrl) {
            this.imgUrl = imgUrl;
        }
        public void setImgLogo(String imgLogo) {
            this.imgLogo = imgLogo;
        }
        public void setUrl(String url) {
            this.url = url;
        }
        public int getId() {
            return id;
        }
        public String getTitle() {
            return title;
        }
        public String getName() {
            return name;
        }
        public String getImgUrl() {
            return imgUrl;
        }
        public String getImgLogo() {
            return imgLogo;
        }
        public String getUrl() {
            return url;
        }
    }
}

